home *** CD-ROM | disk | FTP | other *** search
- on mouseUp
- global mucus, dayNo, correctionMade, oldstamp
- if the doubleClick then
- exit
- end if
- if the mouseH < 627 then
- set x to ((the mouseH - 3) / 58) + 1
- if (x > 2) and (x < 7) then
- if (getAt(stamp, dayNo) = 4) or (getAt(stamp, dayNo) = 6) then
- cursor(0)
- alert("You chose a yellow stamp, but then a fertile mucus. You must change either your stamp or mucus selection.")
- setAt(stamp, dayNo, oldstamp)
- go("Monthly stamp")
- exit
- else
- set NewMucusNo to x
- end if
- else
- if x = 1 then
- set NewMucusNo to 10
- end if
- if x = 2 then
- set NewMucusNo to 11
- end if
- if x = 7 then
- set NewMucusNo to 2
- end if
- if x = 8 then
- set NewMucusNo to 7
- end if
- if x = 9 then
- set NewMucusNo to 8
- end if
- if x = 10 then
- set NewMucusNo to 9
- end if
- if x = 11 then
- set NewMucusNo to 12
- end if
- end if
- setAt(mucus, dayNo, NewMucusNo)
- set correctionMade to 1
- resetMonthlyDays()
- cursor(0)
- end if
- end
-